package org.example.pojo;

import cn.hutool.core.util.IdUtil;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class SampleResult {
  private SampleResult[] subResults;
  public boolean isShouldSampleTrace() {
    return true;
  }

  public String getTraceId() {
    return IdUtil.nanoId();
  }

  public String getThreadGroup() {
    return "test";
  }

  public boolean isSuccessful() {
    return false;
  }
}
